package week13;

import static org.junit.Assert.*;
import junit.framework.TestCase;
import org.junit.Test;
import java.util.Arrays;

/**
 * Created by DELL on 2017/5/17.
 */
public class MathToolTest  extends TestCase{
    @Test
    public void testSMath(){
        assertEquals(6,MathTool.sum(1,2,3));
        assertEquals(-1,MathTool.sum(-1));
        assertEquals(0,MathTool.sum());
        assertEquals(-9,MathTool.sum(-1,-8));
    }
}